// 产品详情接口相关类型定义

export interface ProductStyle {
  id: number
  style_name: string
  style_description: string
  style_image: string
  features: string[]
  is_active: boolean
}

export interface ProductColorScheme {
  id: number
  color_name: string
  color_description: string
  colors: string[]
  is_active: boolean
}

export interface ProductPackage {
  id: number
  package_type: number
  package_name: string
  package_description: string
  package_image: string
  is_active: boolean
}

export interface MaterialCategory {
  id: number
  material_categories_title: string
  material_categories_description: string
  material_categories_image: string
  is_active: boolean
}

export interface ProductItem {
  id: number
  category_name: string
  material_categories: MaterialCategory[]
  is_required: boolean
}

export interface ProductInfo {
  id: number
  product_name: string
  product_description: string
  images: string[]
  duration: string
  space_size: number
  build_size: number
  style: ProductStyle
  color_scheme: ProductColorScheme
  default_package: ProductPackage
  available_packages: ProductPackage[]
  available_items: ProductItem[]
}

export interface IProductInfoResponse {
  product: ProductInfo
}
